﻿using SqlSugar;

namespace drinking.Models
{
    [SugarTable("OrderItem")]
    public class OrderItem
    {
        /// <summary>
        /// 订单id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int OrderItemId { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        public string OrderItemCode { get; set; }

        public int OrderId { get; set; }

        public int DrinkId { get; set; }

        public int StoreDrinkId { get; set; }

        /// <summary>
        /// 饮品名称
        /// </summary>
        public string DrinkName { get; set; }


        /// <summary>
        /// 饮品展示图地址
        /// </summary>
        public string DrinkImage { get; set; }

        /// <summary>
        /// 温度
        /// </summary>
        public string Temperature { get; set; }

        /// <summary>
        /// 甜度
        /// </summary>
        public string Sweetness { get; set; }

        /// <summary>
        /// 辅料1 加了显示金额， 未加显示0
        /// </summary>
        public decimal Accessory1 { get; set; }

        public decimal Accessory2 { get; set; }
        public decimal Accessory3 { get; set; }
        public decimal Accessory4 { get; set; }

        /// <summary>
        /// 大杯/ 标准杯
        /// </summary>
        public string CupMode { get; set; }


        /// <summary>
        /// 不带辅料的价格
        /// </summary>
        public decimal BasePrice { get; set; }


        /// <summary>
        /// 辅料合计费用
        /// </summary>
        public decimal AccessoryPrice { get; set; }

        /// <summary>
        /// 单杯总价 BasePrice + TemperaturePrice
        /// </summary>
        public decimal Price { get; set; }

        public string CreateTime { get; set; }

        public string CompleteTime { get; set; }

        public int OrderItemStatus { get; set; }
    }
}




    











